package com.zhkj.txg.module.home.entity

import com.chad.library.adapter.base.entity.node.BaseNode
import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class HotGoodsResponse(
    val data: MutableList<HotGoodEntity> = mutableListOf()
) : BaseResponse() {
    var hasMore: Boolean = true
    var loadMore: Boolean = false
}

data class HotGoodEntity(
    val id: Int,
    @SerializedName("goods_name")
    val goodName: String = "",
    val image: String = "",
    @SerializedName("is_new")
    val isNew: String = "",
    @SerializedName("market_price")
    val marketPrice: String = "",
    val price: String = "",
    @SerializedName("share_earn")
    val shareEarn: String = ""
) : BaseNode() {
    override val childNode: MutableList<BaseNode>? = null
}